package com.auto.uhoo.tools;

import android.util.Log;

import com.auto.uhoo.config.UhooConfig;

/**
 * Created by HHD on 2016/12/5.
 */

public class LOG {

    private static int showLog = UhooConfig.LOG_ENABLE;
    private static String TAG = UhooConfig.LOG_TAG;

    public static void e(String content){
        e(TAG, content);
    }

    public static  void e(String tag, String content){
        if (showLog == 0)
            Log.e(tag, content);
    }

    public static void d(String content){
        d(TAG, content);
    }

    public static  void d(String tag, String content){
        if (showLog == 0)
            Log.d(tag, content);
    }

}
